home *** CD-ROM | disk | FTP | other *** search
/ EnigmA Amiga Run 1997 February / EnigmA AMIGA RUN 15 (1997)(G.R. Edizioni)(IT)[!][issue 1997-02][PLANET CD V].iso / enigma / earcd / emula / arosdv19.lha / AROS / config / make.cfg < prev    next >
Text File  |  1996-10-25  |  1KB  |  51 lines

  1. # The next line will generate an error but that's ok
  2. include $(TOP)/config/host.cfg
  3.  
  4. VERSION=1.9
  5. CURDIR=.
  6. OS_INCLUDES= -I $(TOP)/include -I $(TOP)/amiga/include
  7. INCLUDES=$(USER_INCLUDES) $(OS_INCLUDES)
  8. CFLAGS=$(COMMON_CFLAGS) $(SPECIAL_CFLAGS) $(INCLUDES)
  9. AFLAGS=$(COMMON_AFLAGS) $(SPECIAL_AFLAGS)
  10. RM=rm -rf
  11. CP=cp -r
  12. MV=mv -f
  13. MKDIR=mkdir
  14. TOUCH=touch
  15. AR=ar r
  16.  
  17. PURIFY=$(TOP)/purify
  18.  
  19. CC=$(SYS_CC)
  20. AS=$(SYS_AS)
  21.  
  22. # Comment this line out to purify the source
  23. #CC=$(PURIFY) $(SYS_CC)
  24. #AS=$(PURIFY) $(SYS_AS)
  25.  
  26. # BINDIR is NOT the place where the executables are stored but where the
  27. # resulting binary files for a certain architecture are places. Exes are
  28. # in EXEDIR
  29. ARCHDIR=$(TOP)/bin/$(ARCH)
  30.  
  31. # Compute depending paths
  32. BINDIR=$(ARCHDIR)/AROS
  33. EXEDIR=$(BINDIR)/c
  34. SDIR=$(BINDIR)/s
  35. LIBDIR=$(BINDIR)/lib
  36. DEVSDIR=$(BINDIR)/devs
  37. SLIBDIR=$(BINDIR)/libs
  38.  
  39. # Generated files which are not distributed
  40. GENDIR=$(ARCHDIR)/gen
  41. OSGENDIR=$(GENDIR)/os
  42.  
  43. # This is the first rule that is read by any makefile
  44. first_rule : $(TOP)/config/host.cfg all
  45.  
  46. # Generate $(TOP)/config/host.cfg if it doesn't exist yet. GNU make will
  47. # reread the makefile afterwards
  48. $(TOP)/config/host.cfg : $(TOP)/configure
  49.     sh $(TOP)/configure $(TOP)/config/host.cfg
  50.     -rm -f $(TOP)/$(GENDIR)/*.d $(TOP)/$(GENDIR)/*/*.d
  51.